package com.topcheer.common.base.exception;

import org.springframework.http.HttpStatus;

/**
 * @author xutao
 * @Package com.topcheer.common.base.exception
 * @Description: ${todo}
 * @date 2020/3/30 10:21
 */
public class BusinessException extends BaseException {
    public BusinessException(String message) {
        super(message, HttpStatus.INTERNAL_SERVER_ERROR.value());
    }

    public BusinessException(String message, Throwable cause, int code) {
        super(message, cause, code);
    }
}
